package com.rzjm.api.service;

import com.rzjm.api.entity.SysUser;
import com.rzjm.api.entity.User;
import com.rzjm.api.exception.TransactionalException;

import java.util.Date;
import java.util.List;

public interface UserService extends BaseService<User>{

    List<User> selectByShopId(Integer shop_id, Integer user_id, Integer offset, Integer pagesize, Date begin_time, Date end_time);

    int bandShop(User user , SysUser sysUser) throws TransactionalException;

    int unBandShop(User user , SysUser sysUser,int shopId)throws TransactionalException;

    List<User> getUserListBySysUserId(Integer sysUserId,String platform);
}
